import Request from "../utils/request"

const request = new Request().http

export function editSchoolInfo(data) {
  //修改信息
  return request({
    url: "api/school/index/editSchoolInfo", //请求头
    method: "POST", //请求方式
    data: data //请求数据
  })
}
export function savePassword(data) {
  //修改密码
  return request({
    url: "api/school/index/savePassword", //请求头
    method: "POST", //请求方式
    data: data //请求数据
  })
}

export function uploadImg(data) {
  return request({
    url: "api/user/uploadImg", //请求头
    method: "POST", //请求方式
    data: data //请求数据
  })
}
